package cn.com.ejiakanghu.form;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author wj
 * @date 2021/11/8 15:35
 */
public class StoreAddGoodsForm {

    @NotBlank(message = "rfid不能为空")
    private String rfidCode;

    @NotNull(message = "商品id不能为空")
    private Integer commodityId;

    @NotBlank(message = "商品规格名称不能为空")
    private String skuName;

    private List<SkuInfoVo> skuInfo;

    private String deviceId;

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getRfidCode() {
        return rfidCode;
    }

    public void setRfidCode(String rfidCode) {
        this.rfidCode = rfidCode;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public List<SkuInfoVo> getSkuInfo() {
        return skuInfo;
    }

    public void setSkuInfo(List<SkuInfoVo> skuInfo) {
        this.skuInfo = skuInfo;
    }
}
